import { requestClient } from '#/api/request';
import type { ClientBo, ClientVo } from '#/api/common';

export namespace ClientApi {}

/**
 * 合同分页列表
 */
export async function listClientApi() {
  return requestClient.get<ClientVo[]>('/client/list');
}

export async function addClientApi(data: ClientBo) {
  return requestClient.post<Boolean>('/client/add', data);
}
export async function delClientApi(data: any) {
  return requestClient.get<Boolean>('/client/delete', {
    params:{...data}
  });
}
